﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/static/include/top.jsp"%>
<script>
	document.title = "从外网导入";
</script>

<table>
	<tbody>
		<tr>
			<th><img src="${ctx}/static/images/pages/cen/rig/ico_01.png" align="absmiddle">&nbsp;导入数据</th>
		</tr>
		<tr class="tab_grey">
			<td><input type="button" class="tab_but" value="导入报表" onfocus="this.blur()" onclick="doImport();" /></td>
		</tr>
	</tbody>
</table>
<script>
	function doImport() {
		if (!confirm("确认导入？")) {
			return;
		}
		var url = "${ctx}/report/importEIReport";
		$.post(url, null, function(data) {
			if (data.result == "OK") {
				alert("导入完毕。");
			}
		}, 'json');

	}
</script>

<%@ include file="/static/include/bottom.jsp"%>
